import type { Image } from '@/types/image'
import { http } from '@/utils/http'

/**
 * 根据订单id获取二维码
 */
export const getQrcodeByOrderId = (orderId: string) => {
  return http<Image>({
    method: 'GET',
    url: `/image/qrcode/${orderId}`,
  })
}
